using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
using System.Data;
using System.Configuration;
using Bussiness.Config;     
using Bussiness.Entity;
namespace Bussiness.ManagerBase
{
                

     public abstract class Aspnet_WebEvent_EventsManagerBase
    {
        public Aspnet_WebEvent_EventsManagerBase()
        {
            Adapter.ConnectionString =  ConnectionConfig.ConnectionString;            
        }
                    
 
        /// <summary>
        /// Them moi du lieu
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity Insert(Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity) Adapter.Insert(obj);             
        }
 
 
        /// <summary>
        /// Update du lieu theo khoa chinh cua object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity Update(Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.Update(obj);             
        }
 
 
        public Aspnet_WebEvent_EventsEntity Delete(Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.Delete(obj);             
        }
 


        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByApplicationPath (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"ApplicationPath");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ApplicationPath 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByApplicationPath (string ApplicationPath )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationPath = ApplicationPath;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"ApplicationPath");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByApplicationVirtualPath (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"ApplicationVirtualPath");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ApplicationVirtualPath 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByApplicationVirtualPath (string ApplicationVirtualPath )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationVirtualPath = ApplicationVirtualPath;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"ApplicationVirtualPath");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByDetails (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"Details");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien Details 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByDetails (string Details )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Details = Details;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"Details");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventCode (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventCode");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventCode 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventCode (int EventCode )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventCode = EventCode;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventCode");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventDetailCode (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventDetailCode");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventDetailCode 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventDetailCode (int EventDetailCode )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventDetailCode = EventDetailCode;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventDetailCode");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventId (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventId");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventId 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventId (string EventId )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventId = EventId;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventId");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventOccurrence (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventOccurrence");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventOccurrence 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventOccurrence (double EventOccurrence )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventOccurrence = EventOccurrence;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventOccurrence");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventSequence (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventSequence");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventSequence 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventSequence (double EventSequence )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventSequence = EventSequence;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventSequence");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventTime (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventTime");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventTime 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventTime (DateTime EventTime )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTime = EventTime;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventTime");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventTimeUtc (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventTimeUtc");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventTimeUtc 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventTimeUtc (DateTime EventTimeUtc )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTimeUtc = EventTimeUtc;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventTimeUtc");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventType (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventType");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien EventType 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByEventType (string EventType )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventType = EventType;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"EventType");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByExceptionType (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"ExceptionType");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien ExceptionType 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByExceptionType (string ExceptionType )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ExceptionType = ExceptionType;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"ExceptionType");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByMachineName (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"MachineName");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien MachineName 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByMachineName (string MachineName )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.MachineName = MachineName;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"MachineName");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByMessage (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"Message");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien Message 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByMessage (string Message )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Message = Message;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"Message");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByRequestUrl (Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"RequestUrl");
        }

        /// <summary>
        /// Xoa cac dong du lieu thoa dieu kien RequestUrl 
        /// </summary>
        /// <returns>Aspnet_WebEvent_EventsEntity</returns>
        public Aspnet_WebEvent_EventsEntity DeleteByRequestUrl (string RequestUrl )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.RequestUrl = RequestUrl;  
            return (Aspnet_WebEvent_EventsEntity)Adapter.DeleteByField(obj,"RequestUrl");
        }

 
        /// <summary>
        /// Lay du lieu theo khoa chinh object
        /// </summary>
        /// <returns></returns>
        public Aspnet_WebEvent_EventsEntity Select(Aspnet_WebEvent_EventsEntity obj)
        { 
            return (Aspnet_WebEvent_EventsEntity) Adapter.Select(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(Aspnet_WebEvent_EventsEntity obj)
        { 
            return  Adapter.SelectWithCondition(obj);             
        }
 
 
        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns></returns>
        public DataTable SelectWithCondition(Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        {             
            return  Adapter.SelectWithCondition(obj,option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll()
        { 
            return Adapter.SelectAll(new Aspnet_WebEvent_EventsEntity());             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public DataTable SelectAll(SelectOptions option)
        { 
            return Adapter.SelectAll(new Aspnet_WebEvent_EventsEntity(),option);             
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectAllLST()
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new Aspnet_WebEvent_EventsEntity()),new Aspnet_WebEvent_EventsEntity());           
        }
 
 
        /// <summary>
        /// Lay tat ca cac du lieu trong table
        /// </summary>
        /// <returns></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectAllLST(SelectOptions option)
        { 
            return (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectAll(new Aspnet_WebEvent_EventsEntity(),option),new Aspnet_WebEvent_EventsEntity());             
        }
 

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationPath (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"ApplicationPath");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationPath (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"ApplicationPath",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationPathLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationPath"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationPathLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"ApplicationPath",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationPath (string ApplicationPath )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationPath = ApplicationPath;  
            return Adapter.SelectByField(obj,"ApplicationPath");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationPath (string ApplicationPath, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationPath = ApplicationPath;  
            return Adapter.SelectByField(obj,"ApplicationPath",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationPathLST (string ApplicationPath )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationPath = ApplicationPath;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationPath"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationPathLST (string ApplicationPath, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationPath = ApplicationPath;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationPath",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationVirtualPath (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"ApplicationVirtualPath");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationVirtualPath (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"ApplicationVirtualPath",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationVirtualPathLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationVirtualPath"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationVirtualPathLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"ApplicationVirtualPath",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationVirtualPath (string ApplicationVirtualPath )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationVirtualPath = ApplicationVirtualPath;  
            return Adapter.SelectByField(obj,"ApplicationVirtualPath");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByApplicationVirtualPath (string ApplicationVirtualPath, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationVirtualPath = ApplicationVirtualPath;  
            return Adapter.SelectByField(obj,"ApplicationVirtualPath",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationVirtualPathLST (string ApplicationVirtualPath )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationVirtualPath = ApplicationVirtualPath;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationVirtualPath"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ApplicationVirtualPath duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByApplicationVirtualPathLST (string ApplicationVirtualPath, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ApplicationVirtualPath = ApplicationVirtualPath;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ApplicationVirtualPath",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDetails (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"Details");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDetails (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"Details",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByDetailsLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Details"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByDetailsLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"Details",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDetails (string Details )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Details = Details;  
            return Adapter.SelectByField(obj,"Details");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByDetails (string Details, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Details = Details;  
            return Adapter.SelectByField(obj,"Details",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByDetailsLST (string Details )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Details = Details;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Details"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Details duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByDetailsLST (string Details, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Details = Details;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Details",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventCode (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventCode");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventCode (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventCode",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventCodeLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventCode"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventCodeLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventCode",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventCode (int EventCode )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventCode = EventCode;  
            return Adapter.SelectByField(obj,"EventCode");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventCode (int EventCode, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventCode = EventCode;  
            return Adapter.SelectByField(obj,"EventCode",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventCodeLST (int EventCode )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventCode = EventCode;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventCode"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventCodeLST (int EventCode, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventCode = EventCode;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventCode",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventDetailCode (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventDetailCode");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventDetailCode (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventDetailCode",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventDetailCodeLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventDetailCode"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventDetailCodeLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventDetailCode",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventDetailCode (int EventDetailCode )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventDetailCode = EventDetailCode;  
            return Adapter.SelectByField(obj,"EventDetailCode");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventDetailCode (int EventDetailCode, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventDetailCode = EventDetailCode;  
            return Adapter.SelectByField(obj,"EventDetailCode",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventDetailCodeLST (int EventDetailCode )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventDetailCode = EventDetailCode;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventDetailCode"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventDetailCode duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventDetailCodeLST (int EventDetailCode, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventDetailCode = EventDetailCode;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventDetailCode",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventId (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventId");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventId (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventId",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventIdLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventId"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventIdLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventId",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventId (string EventId )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventId = EventId;  
            return Adapter.SelectByField(obj,"EventId");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventId (string EventId, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventId = EventId;  
            return Adapter.SelectByField(obj,"EventId",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventIdLST (string EventId )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventId = EventId;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventId"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventId duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventIdLST (string EventId, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventId = EventId;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventId",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventOccurrence (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventOccurrence");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventOccurrence (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventOccurrence",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventOccurrenceLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventOccurrence"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventOccurrenceLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventOccurrence",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventOccurrence (double EventOccurrence )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventOccurrence = EventOccurrence;  
            return Adapter.SelectByField(obj,"EventOccurrence");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventOccurrence (double EventOccurrence, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventOccurrence = EventOccurrence;  
            return Adapter.SelectByField(obj,"EventOccurrence",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventOccurrenceLST (double EventOccurrence )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventOccurrence = EventOccurrence;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventOccurrence"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventOccurrence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventOccurrenceLST (double EventOccurrence, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventOccurrence = EventOccurrence;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventOccurrence",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventSequence (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventSequence");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventSequence (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventSequence",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventSequenceLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventSequence"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventSequenceLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventSequence",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventSequence (double EventSequence )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventSequence = EventSequence;  
            return Adapter.SelectByField(obj,"EventSequence");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventSequence (double EventSequence, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventSequence = EventSequence;  
            return Adapter.SelectByField(obj,"EventSequence",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventSequenceLST (double EventSequence )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventSequence = EventSequence;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventSequence"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventSequence duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventSequenceLST (double EventSequence, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventSequence = EventSequence;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventSequence",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTime (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventTime");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTime (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventTime",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventTime"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventTime",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTime (DateTime EventTime )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTime = EventTime;  
            return Adapter.SelectByField(obj,"EventTime");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTime (DateTime EventTime, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTime = EventTime;  
            return Adapter.SelectByField(obj,"EventTime",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeLST (DateTime EventTime )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTime = EventTime;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventTime"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTime duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeLST (DateTime EventTime, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTime = EventTime;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventTime",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTimeUtc (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventTimeUtc");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTimeUtc (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventTimeUtc",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeUtcLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventTimeUtc"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeUtcLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventTimeUtc",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTimeUtc (DateTime EventTimeUtc )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTimeUtc = EventTimeUtc;  
            return Adapter.SelectByField(obj,"EventTimeUtc");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventTimeUtc (DateTime EventTimeUtc, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTimeUtc = EventTimeUtc;  
            return Adapter.SelectByField(obj,"EventTimeUtc",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeUtcLST (DateTime EventTimeUtc )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTimeUtc = EventTimeUtc;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventTimeUtc"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventTimeUtc duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTimeUtcLST (DateTime EventTimeUtc, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventTimeUtc = EventTimeUtc;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventTimeUtc",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventType (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"EventType");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventType (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"EventType",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTypeLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventType"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTypeLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"EventType",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventType (string EventType )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventType = EventType;  
            return Adapter.SelectByField(obj,"EventType");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByEventType (string EventType, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventType = EventType;  
            return Adapter.SelectByField(obj,"EventType",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTypeLST (string EventType )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventType = EventType;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventType"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien EventType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByEventTypeLST (string EventType, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.EventType = EventType;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"EventType",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByExceptionType (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"ExceptionType");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByExceptionType (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"ExceptionType",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByExceptionTypeLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ExceptionType"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByExceptionTypeLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"ExceptionType",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByExceptionType (string ExceptionType )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ExceptionType = ExceptionType;  
            return Adapter.SelectByField(obj,"ExceptionType");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByExceptionType (string ExceptionType, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ExceptionType = ExceptionType;  
            return Adapter.SelectByField(obj,"ExceptionType",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByExceptionTypeLST (string ExceptionType )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ExceptionType = ExceptionType;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ExceptionType"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien ExceptionType duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByExceptionTypeLST (string ExceptionType, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.ExceptionType = ExceptionType;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"ExceptionType",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMachineName (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"MachineName");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMachineName (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"MachineName",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMachineNameLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MachineName"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMachineNameLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"MachineName",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMachineName (string MachineName )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.MachineName = MachineName;  
            return Adapter.SelectByField(obj,"MachineName");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMachineName (string MachineName, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.MachineName = MachineName;  
            return Adapter.SelectByField(obj,"MachineName",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMachineNameLST (string MachineName )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.MachineName = MachineName;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MachineName"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien MachineName duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMachineNameLST (string MachineName, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.MachineName = MachineName;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"MachineName",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMessage (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"Message");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMessage (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"Message",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMessageLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Message"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMessageLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"Message",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMessage (string Message )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Message = Message;  
            return Adapter.SelectByField(obj,"Message");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByMessage (string Message, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Message = Message;  
            return Adapter.SelectByField(obj,"Message",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMessageLST (string Message )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Message = Message;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Message"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien Message duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByMessageLST (string Message, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.Message = Message;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"Message",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByRequestUrl (Aspnet_WebEvent_EventsEntity obj)
        { 
            return Adapter.SelectByField(obj,"RequestUrl");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByRequestUrl (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return Adapter.SelectByField(obj,"RequestUrl",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByRequestUrlLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"RequestUrl"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByRequestUrlLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectByField(obj,"RequestUrl",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl 
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByRequestUrl (string RequestUrl )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.RequestUrl = RequestUrl;  
            return Adapter.SelectByField(obj,"RequestUrl");
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public DataTable SelectByRequestUrl (string RequestUrl, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.RequestUrl = RequestUrl;  
            return Adapter.SelectByField(obj,"RequestUrl",option);
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl 
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByRequestUrlLST (string RequestUrl )
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.RequestUrl = RequestUrl;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"RequestUrl"),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien RequestUrl duoc set trong object
        /// </summary>
        /// <returns>DataTable</returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectByRequestUrlLST (string RequestUrl, SelectOptions option)
        { 
            Aspnet_WebEvent_EventsEntity obj = new Aspnet_WebEvent_EventsEntity();
            obj.RequestUrl = RequestUrl;  
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList(Adapter.SelectByField(obj,"RequestUrl",option),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectWithConditionLST (Aspnet_WebEvent_EventsEntity obj)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj),new Aspnet_WebEvent_EventsEntity());
        }

        /// <summary>
        /// Lay du lieu theo cac dieu kien duoc set trong object
        /// </summary>
        /// <returns>List<Aspnet_WebEvent_EventsEntity></returns>
        public List<Aspnet_WebEvent_EventsEntity> SelectWithConditionLST (Aspnet_WebEvent_EventsEntity obj,SelectOptions option)
        { 
            return  (List<Aspnet_WebEvent_EventsEntity>) EntityUtil.CopyDataTableToEntityList( Adapter.SelectWithCondition(obj,option),new Aspnet_WebEvent_EventsEntity());
        }

}
}
